package com.tchy.cloud.entity;

import javax.persistence.*;
import java.math.BigDecimal;
import java.sql.Timestamp;
import java.util.Date;

import static javax.persistence.GenerationType.IDENTITY;

/**
 * Created by xiaoji on 2017/2/20.
 */
@Entity
@Table(name = "a_consultant_vod_record", schema = "", catalog = "")
public class AConsultantVodRecordEntity {
    private Long vid;
    private String videoName;
    private String origVideoKey;
    private Integer uid;
    private String cid;
    private String beginTime;
    private String endTime;
    private String nId;
    private Date createTime;
    private String name;
    private String vodImg;
    private String secondClassed;
    private BigDecimal price;
    private String video;
    private Integer type;
    private Integer clickNum;

    @Id
    @GeneratedValue(strategy = IDENTITY)
    @Column(name = "vid")
    public Long getVid() {
        return vid;
    }

    public void setVid(Long vid) {
        this.vid = vid;
    }

    @Basic
    @Column(name = "video_name")
    public String getVideoName() {
        return videoName;
    }

    public void setVideoName(String videoName) {
        this.videoName = videoName;
    }

    @Basic
    @Column(name = "orig_video_key")
    public String getOrigVideoKey() {
        return origVideoKey;
    }

    public void setOrigVideoKey(String origVideoKey) {
        this.origVideoKey = origVideoKey;
    }

    @Basic
    @Column(name = "uid")
    public Integer getUid() {
        return uid;
    }

    public void setUid(Integer uid) {
        this.uid = uid;
    }

    @Basic
    @Column(name = "cid")
    public String getCid() {
        return cid;
    }

    public void setCid(String cid) {
        this.cid = cid;
    }

    @Basic
    @Column(name = "beginTime")
    public String getBeginTime() {
        return beginTime;
    }

    public void setBeginTime(String beginTime) {
        this.beginTime = beginTime;
    }

    @Basic
    @Column(name = "endTime")
    public String getEndTime() {
        return endTime;
    }

    public void setEndTime(String endTime) {
        this.endTime = endTime;
    }

    @Basic
    @Column(name = "nId")
    public String getnId() {
        return nId;
    }

    public void setnId(String nId) {
        this.nId = nId;
    }

    @Basic
    @Column(name = "create_time")
    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    @Basic
    @Column(name = "name")
    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    @Basic
    @Column(name = "vod_img")
    public String getVodImg() {
        return vodImg;
    }

    public void setVodImg(String vodImg) {
        this.vodImg = vodImg;
    }

    @Basic
    @Column(name = "second_classed")
    public String getSecondClassed() {
        return secondClassed;
    }

    public void setSecondClassed(String secondClassed) {
        this.secondClassed = secondClassed;
    }

    @Basic
    @Column(name = "price")
    public BigDecimal getPrice() {
        return price;
    }

    public void setPrice(BigDecimal price) {
        this.price = price;
    }

    @Basic
    @Column(name = "video")
    public String getVideo() {
        return video;
    }

    public void setVideo(String video) {
        this.video = video;
    }

    @Basic
    @Column(name = "type")
    public Integer getType() {
        return type;
    }

    public void setType(Integer type) {
        this.type = type;
    }

    @Basic
    @Column(name = "click_num")
    public Integer getClickNum() {
        return clickNum;
    }

    public void setClickNum(Integer clickNum) {
        this.clickNum = clickNum;
    }
    
}
